"""LOG 配置文件"""
import logging

"""日志文件管理器"""
class Log_Config:
    def __init__(self):
        self.log_file_name = "log.txt"
        # 配置LOG对象
        logging.basicConfig(filename=self.log_file_name , level=logging.INFO, format='%(asctime)s %(levelname)s %(message)s',
                            datefmt='%Y-%m-%d %H:%M:%S')
        self.logger = logging.getLogger(__name__)  # 创建Log日志实例化对象


